﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="seller_reportBusinessList.aspx.cs"
    Inherits="PeisongWeb.seller_reportBusinessList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>采购配送系统-供应商供货单</title>
    <!--#include file="../global.inc" -->

    <script src="/app_common/scripts/jquery-latest.pack.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <uc1:sellerHeader runat="server" ID="header" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color1">供货单列表</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <div class="search_list">
                              <div class="search_title">
                            <span>查询搜索</span>
                        </div>
                        <div class="listsearch">
                            <ul>
                                <li> <label>提货单号：</label>
                                    <input runat="server" id="txt_rbno" name="" type="text" />
                                </li>
                                <li>
                                   <asp:Button runat="server" ID="btn_select" Text="查 询" OnClick="btn_select_Click" />
                                </li>
                                <li>
                                  <input type="button" id="bt_preview" value="预览今日" onclick="window.open('seller_reportbusinessdetail.html')" />
                                </li>
                            </ul>
                        </div>
                          
                          
                    </div>
                    <div class="list_content">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr class="list_title">
                                <td width="15%" class="search_bg">
                            <div align="center">
                                供货单号</div>
                        </td>
                      <%--  <td width="10%" class="search_bg">
                            <div align="center">
                                产品数</div>
                        </td>
                        <td width="10%" class="search_bg">
                            <div align="center">
                                订单数目</div>
                        </td>--%>
                        <td width="15%" class="search_bg">
                            <div align="center">
                                订单总金额</div>
                        </td>
                        <td width="10%" class="search_bg">
                            <div align="center">
                                创建人</div>
                        </td>
                        <td width="30%" class="search_bg">
                            <div align="center">
                                创建时间</div>
                        </td>
                        <td width="10%" class="search_bg">
                            <div align="center">
                                查看</div>
                        </td>
                            </tr>
                        </table>
                        <table border="0" cellspacing="0" cellpadding="0" class="list_border">
                            <asp:Repeater ID="rpt_list" runat="server"  onitemdatabound="rpt_list_ItemDataBound">
                                <ItemTemplate>
                                   <tr bgcolor='<%# Container.ItemIndex%2==0? "#f3f8fc":"#d5e6f3"  %>'>
                                <td height="26" align="center" width="15%">
                                    <%# Eval("rbno")%>
                                </td>
                               <%-- <td height="26"'" align="center" width="10%">
                                    <asp:Literal runat="server" ID="lblProductNum" Text='<%# Eval("productnum")%>'></asp:Literal>
                                </td>
                                <td height="26" align="center" width="10%">
                                    <asp:Literal runat="server" ID="lblOrderNum" Text='<%# Eval("ordernum")%>'></asp:Literal>
                                </td>--%>
                                <td height="26" align="center" width="15%">
                                    <asp:Literal runat="server" ID="lblOrderAmount" Text='<%# string.Format("{0:F2}", Eval("orderamount"))%>'></asp:Literal>
                                </td>
                                <td height="26" align="center" width="10%">
                                    <%# Eval("realname")%>
                                </td>
                                <td height="26" align="center" width="30%">
                                    <%# Eval("createdt")%>
                                </td>
                                <td height="26" align="center" width="10%">
                                    <a href="seller_reportbusinessdetail_<%# Eval("rbno")%>.html" target="_blank">查看详情</a>
                                </td>
                            </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </div>
                    <div class="page">
                        <webdiyer:AspNetPager ID="AspNetPager1" NumericButtonType="Text" MoreButtonType="Text"
                            AlwaysShow="true" Width="98%" runat="server" PageSize="15" InvalidPageIndexErrorMessage="无效页码"
                            NumericButtonCount="5" PageIndexOutOfRangeErrorMessage="页码超出范围" ShowCustomInfoSection="Left"
                            CustomInfoHTML=" 每页%PageSize%条记录 | 总共%RecordCount%条记录 " CustomInfoTextAlign="Left"
                            HorizontalAlign="Right" OnPageChanged="AspNetPager1_PageChanged" NextPageText=">"
                            FirstPageText="<<首页" LastPageText="末页>>" PrevPageText="<" CssClass="paginator"
                            CurrentPageButtonClass="cpb">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
        </div>
        <uc1:sellerFooter runat="server" ID="footer" />
    </div>
    </form>
</body>
</html>
